#include "Poco/Thread.h"
#include "Poco/Runnable.h"
#include "iostream"


using namespace Poco;

class MyRun: public Runnable
{
public:
    void run()
    {
        while(1)
        std::cout<<"run\n";
    }
};

int main()
{
    Thread t;
    MyRun r;
    t.start(r);

    t.join();
    return 0;
}